package com.huaxin.device.models;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 配电箱类型
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("switch_cabinet_type")
@Schema(description = "配电箱类型")
public class SwitchCabinetType extends BaseModel {

    @TableField(value = "code")
    @Schema(description = "编码")
    private String code;

    @TableField(value = "name")
    @Schema(description = "名称")
    private String name;

    @TableField(value = "icon")
    @Schema(description = "图标")
    private String icon;

    @TableField(value = "description")
    @Schema(description = "描述")
    private String description;
}